﻿//扩展currency类型的格式化函数
$.ligerDefaults.Grid.formatters['selfDate'] = function (num, column) {
    //num 当前的值
    //column 列信息
    if (!num) return "";
    return $.trim(num.toString()).length > 10 ? num.toString().substring(0, 10) : num.toString();
};

var $wobj = $(window);
function getDialogWidth() { 
    return $wobj.width();
}
function getDialogHeight() { 
    return $wobj.height();
}

$(document).ready(function () {
    $("input[name='btnSearch']").hover(
        function () {
            $(this).css({"background-color":"#FFDC35","color":"#000"});
        },
         function () {
             $(this).css({ "background-color": "#56a1da", "color": "#fff" });
         }
    );
});